package com.ruoyi.shop.service;

import java.util.List;
import com.ruoyi.shop.domain.ShopUserAddress;

/**
 * 收货地址Service接口
 * 
 * @author Alan Zhang
 * @date 2021-09-12
 */
public interface IShopUserAddressService 
{
    /**
     * 查询收货地址
     * 
     * @param id 收货地址主键
     * @return 收货地址
     */
    public ShopUserAddress selectShopUserAddressById(Long id);

    /**
     * 查询收货地址列表
     * 
     * @param shopUserAddress 收货地址
     * @return 收货地址集合
     */
    public List<ShopUserAddress> selectShopUserAddressList(ShopUserAddress shopUserAddress);

    /**
     * 新增收货地址
     * 
     * @param shopUserAddress 收货地址
     * @return 结果
     */
    public int insertShopUserAddress(ShopUserAddress shopUserAddress);

    /**
     * 修改收货地址
     * 
     * @param shopUserAddress 收货地址
     * @return 结果
     */
    public int updateShopUserAddress(ShopUserAddress shopUserAddress);

    /**
     * 批量删除收货地址
     * 
     * @param ids 需要删除的收货地址主键集合
     * @return 结果
     */
    public int deleteShopUserAddressByIds(String ids);

    /**
     * 删除收货地址信息
     * 
     * @param id 收货地址主键
     * @return 结果
     */
    public int deleteShopUserAddressById(Long id);
}
